package com.zhentao.model.common.business.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName business_shop_type
 */
@TableName(value ="business_shop_type")
@Data
@ApiModel(value = "商铺类别表")
public class BusinessShopType implements Serializable {
    /**
     * 商家类别id
     */
    @TableId(value = "st_id", type = IdType.AUTO)
    @ApiModelProperty("商家类别id")
    private Integer stId;

    /**
     * 分类名
     */
    @TableField(value = "st_name")
    @ApiModelProperty("分类名")
    private String stName;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GTM+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GTM+8")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}